<html>
<head>
  <title>上海都来123网——左侧导航栏</title>
  <link rel="stylesheet" type="text/css" href="${resource(dir: 'css', file: 'reset.css', absolute: true)}"/>
  <link rel="stylesheet" type="text/css" href="${resource(dir: 'css', file: 'admin_main.css', absolute: true)}"/>
  <script type="text/javascript" src="${resource(dir: 'js/common', file: 'outlookbar.js', absolute: true)}"></script>
  <script type="text/javascript">
    // 导航栏配置文件
    var outlookbar = new outlook();
    var t;
    <g:if test="${sysUserInfo.permission[1]!=48}">
    t = outlookbar.addtitle("楼盘管理", "楼盘管理", 1)

    <g:if test="${sysUserInfo.permission[11]!=48}">
    outlookbar.additem("楼盘管理", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=Estate")
    </g:if>

    </g:if>
    <g:if test="${sysUserInfo.permission[2]!=48}">
    t = outlookbar.addtitle("信息管理", "信息管理", 1)
    <g:if test="${sysUserInfo.permission[21]!=48}">
    outlookbar.additem("房源信息", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=SupplyInfo&view=house")
    </g:if>
    </g:if>
    <g:if test="${sysUserInfo.permission[3]!=48}">
    t = outlookbar.addtitle("用户管理", "用户管理", 1)
    <g:if test="${sysUserInfo.permission[31]!=48}">
    outlookbar.additem("用户管理", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=User")
    </g:if>

    </g:if>

    <g:if test="${sysUserInfo.permission[4]!=48}">
    t = outlookbar.addtitle("链接管理", "链接管理", 1)
    <g:if test="${sysUserInfo.permission[41]!=48}">
    outlookbar.additem("友情链接", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=Link")
    </g:if>

    </g:if>
    <g:if test="${sysUserInfo.permission[5]!=48}">
    t = outlookbar.addtitle("报表统计", "报表统计", 1)
    <g:if test="${sysUserInfo.permission[51]!=48}">
    outlookbar.additem("用户竞标数量统计", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=BroadcastMessage")
    </g:if>


    </g:if>

    <g:if test="${sysUserInfo.permission[6]!=48}">
    t = outlookbar.addtitle("系统管理", "系统管理", 1)
    <g:if test="${sysUserInfo.permission[61]!=48}">
    outlookbar.additem("环境变量设定", t, "${createLink(controller:'scaffold',action:'show',absolute:true)}?property=Setting&id=1")
    </g:if>

    <g:if test="${sysUserInfo.permission[62]!=48}">
    outlookbar.additem("系统用户管理", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=SysUser")
    </g:if>
    <g:if test="${sysUserInfo.permission[63]!=48}">
    outlookbar.additem("角色管理", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=Role")
    </g:if>
    <g:if test="${sysUserInfo.permission[64]!=48}">
    outlookbar.additem("管理员日志", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=SysLog")
    </g:if>

    </g:if>

    <g:if test="${sysUserInfo.permission[7]!=48}">
    t = outlookbar.addtitle("消息管理", "消息管理", 1)
    <g:if test="${sysUserInfo.permission[71]!=48}">
    outlookbar.additem("系统广播", t, "${createLink(controller:'scaffold',action:'list',absolute:true)}?property=BroadcastMessage")
    </g:if>
    </g:if>
  </script>
</head>
<body>
<div id="left_content">
  <div id="user_info">欢迎您，<strong><font color="red">${sysUserInfo.displayName}</font></strong><br/>
    [<a href="../sysUser/changePwd.gsp" target="manFrame">修改密码</a>]<br>
  </div>
  <div id="main_nav">
    <div id="left_main_nav"></div>
    <div id="right_main_nav"></div>
  </div>
</div>
</body>
</html>
